Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

The Frame Time Structure

The ICMFrameTime structure is defined as follows:

struct ICMFrameTimeRecord {
    Int64Bit                value;          /* time to display frame */
    long                    scale;          /* time scale */
    void                    *base;          /* reference to time base */
    long                    duration;       /* display duration */
    Fixed                   rate;           /* movie's playback rate */
};

Field descriptions

value
Specifies the time at which the frame is to be displayed.

scale
Indicates the units for the frame's display time.

base
Refers to the time base.

duration
Specifies the duration for which the frame is to be displayed. This must be in the same units as specified by the scale field.

rate
Indicates the time base's effective rate.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |